package com.ultrasoft.farmasoft.repository;
import java.util.List;

import com.ultrasoft.farmasoft.domain.Article;

public interface ArticleDao {

		public List<Article> getArticleList();
		public List<Article> getArticleList(Integer idArticle);//return active article
		public List<Article> getArticleListWithIdRegion(Integer idRegion);
		public List<Article> getArticleListIdArticleActive(Integer idArticle,boolean active);
		public List<Article> getArticleListUserWithIdRegionActive(Integer idRegion, boolean active);
		public List<Article> getArticleListUser(Integer createUserId);
		public List<Article> getArticleDistintRegionId();//return distinct RegionId
		public List<Article> getArticleDistinctRegionRegains(Integer idRegion);
		
		public Article findArticleByID(Integer idArticle);

	    public void remove(Article article);    
	    public void update(Article article);
	    public void add(Article article);
}
